#
# Common variables and parameters for the UAG SVM MNE python analyses
#

# ON & SA 2020-02-22

import os
import numpy as np
import matplotlib.pyplot as plt

import mne

# -------------
# Data paths:

study_dir = '/autofs/space/clive_001/users/adriana/GE_SVM/'
#gps_dir = '/autofs/space/clive_001/users/adriana/GE/' #look into how gps_dir is used...can we use original GPS directory?
gps_dir = '/autofs/space/clive_001/users/olivia/GE_new/' #new directory for GE_17-GE_20
subjects_dir = gps_dir + 'MRI/' #look into how subjects_dir is used
roi_dir = gps_dir + 'Granger/rois/correctResponseOnly_39_ROI/' #look into how subjects_dir is used

# -------------
# Paths for pre-processed event files:

uag_svm_dir_old = '/autofs/space/clive_001/users/adriana/UAG_SVM/'
ge_rule_tag = '_nvs_svm' # change according to condition
uag_8divs_tag = '_8divs'
uag_8div_tag = '_8div'
current_tag = uag_8div_tag
#uag_rule_tag = '_blockrule_8divs'tc

# -------------
# Block names:

block_list = ['B1', 'B2', 'B3', 'B4', 'B5', 'B6', 'B7', 'B8', 'B9', 'B10', 'B11', 'B12', 'B13', 'B14', 'B15', 'B16']

# -------------
# Subjects:

#subject_list = [] 
#subject_list = ['GE_15', 'GE_16']
#subject_list = ['GE_2
#1', 'GE_22']
subject_list = ['GE_05', 'GE_06', 'GE_07', 'GE_08', 'GE_09', 'GE_10', 'GE_11', 'GE_12', 'GE_13', 'GE_14', 'GE_15', 'GE_16', 'GE_17', 'GE_18', 'GE_19', 'GE_20', 'GE_21', 'GE_22', 'GE_23', 'GE_24']
# -----------
# Subdirectoris for each subject

subdir_names = dict()
subdir_names['epochs'] =  'epochs'
subdir_names['events'] =  'events'
subdir_names['labels'] =  'labels'
subdir_names['rawdata'] = 'rawdata'
subdir_names['results'] = 'results'
subdir_names['roiraw'] =  'roiraw'

# ------------
# Event and Condition Names
event_id = [1, 11, 2, 22, 3, 33, 4, 44, 5, 55, 6, 66]
condition_names = [str(ids) for ids in event_id]

